package com.ineatconseil.yougo.client.ui.main.application.tabs.userTypesMngt;

import com.google.gwt.place.shared.Place;
import com.ineatconseil.yougo.client.cto.UserCTO;

/**
 * @author Benjamin Barbier - Ineat Conseil
 */
public class UserTypesPlace extends Place {
	
	private final UserCTO user;

	public UserTypesPlace(final UserCTO user) {
		this.user = user;
	}

	public String getUserId() {
		return String.valueOf(this.user.getId());
	}

	public UserCTO getUser() {
		return user;
	}
	
}
